if p-1 p 3 and 3p-1 are three consecutive terms of an ap